package com.nsl.my_youlai.bbu_return.enums.check;

import com.nsl.my_youlai.common.base.IBaseEnum;


public enum CheckSchemeExcelRecordErrorType implements IBaseEnum<Integer> {

    GENERATION_TYPE_ERROR(0,"制式错误"),
    NODE_iD_ERROR(1,"nodeb_id错误"),

    ACTION_ERROR(2,"整合方式错误"),

    BOARD_TYPE_ERROR(3,"板卡类型错误"),

    BBU_MODEL_ERROR(4,"BBU型号错误"),

    VENDOR_ERROR(5,"厂家错误"),
    BBU_VERDOR_MATCH(6,"厂家和BBU类型匹配错误"),

    REQUIRED_SLOT_INDEX_ERROR(7,"槽道错误"),

    REQUIRED_DESTINATION_ID_AND_SLOT_INDEX_ERROR(8,"缺少目标nodeb_id或槽道号"),

    REQUIRED_COLUMNS_NULL_ERROR(9,"必填项缺失"),

    VENDOR_SWITCH_BOARD_ERROR(10,"仅中兴有交换板"),

    TAC_NOT_NUMBER_ERROR(11,"原BBU归属TAC 非数字"),

    CITY_ERROR(12,"地市 错误"),

    MACHINE_ROOM_OWNERSHIP_ERROR(13,"机房产权 错误"),

    MACHINE_ROOM_CATEGORY_ERROR(14,"本站机房归类 错误"),

    INDOOR_OUTDOOR_ERROR(15,"室分or宏站 错误"),

    DISMANTLE_SETUP_ACTION_NEW_BBU_ID_AND_SLOT_BLANK_ERROR(16,"整合方式为:拆除-回局安装,AF-AG列不填"),

    BBU_ID_UNKNOWN(17,"bbu_id:不确定"),
    TAC_UNKNOWN(18,"tac:不确定"),
    BBU_SHEET_TRANSFER_SHEET_NODE_ID_OVERLAP(19,"回局机房不为空，nodebid应在传输需求中存在"),
    ;


    private Integer id;

    private String label;

    @Override
    public Integer getValue() {
        return this.id;
    }

    @Override
    public String getLabel() {
        return this.label;
    }

    @Override
    public String getEnumCnName() {
        return "制式";
    }

    CheckSchemeExcelRecordErrorType(Integer id,String errorMsg){
        this.id=id;
        this.label=errorMsg;
    }
}
